luci-app-advanced-reboot: add support for more Linksys devices
authorStan Grishin <[email protected]>
Sun, 9 Feb 2025 19:26:35 +0000 (19:26 +0000)
committerStan Grishin <[email protected]>
Sun, 9 Feb 2025 19:26:54 +0000 (19:26 +0000)
* Linksys E7350 (thanks forum/OothecaPickle)
* Linksys MX2000 (thanks @georgemoussalem)
* Linksys MX550 (thanks @georgemoussalem)

Signed-off-by: Stan Grishin <[email protected]>
applications/luci-app-advanced-reboot/Makefile
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e7350.json [new file with mode: 0644]
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx2000.json [new file with mode: 0644]
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5500.json [new file with mode: 0644]

index d1b2a15bdd0a05883a4b07fcb0642795df1827f9..54357b3cb91eb50b016bb44a4853a02738a4e797 100644 (file)
@@ -7,7 +7,7 @@ PKG_NAME:=luci-app-advanced-reboot
 PKG_LICENSE:=AGPL-3.0-or-later
 PKG_MAINTAINER:=Stan Grishin <[email protected]>
 PKG_VERSION:=1.0.1
-PKG_RELEASE:=16
+PKG_RELEASE:=18
 
 LUCI_TITLE:=Advanced Linksys Reboot Web UI
 LUCI_URL:=https://github.com/stangri/luci-app-advanced-reboot/
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e7350.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e7350.json
new file mode 100644 (file)
index 0000000..9d320c0
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "E7350",
+       "boardNames": [ "linksys,e7350" ],
+       "partition1MTD": "mtd3",
+       "partition2MTD": "mtd6",
+       "labelOffset": 192,
+       "bootEnv1": "bootimage",
+       "bootEnv1Partition1Value": 1,
+       "bootEnv1Partition2Value": 2,
+       "bootEnv2": null,
+       "bootEnv2Partition1Value": null,
+       "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx2000.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx2000.json
new file mode 100644 (file)
index 0000000..93d5920
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "MX2000",
+       "boardNames": [ "linksys,mx2000" ],
+       "partition1MTD": "mtd12",
+       "partition2MTD": "mtd14",
+       "labelOffset": 192,
+       "bootEnv1": "boot_part",
+       "bootEnv1Partition1Value": 1,
+       "bootEnv1Partition2Value": 2,
+       "bootEnv2": null,
+       "bootEnv2Partition1Value": null,
+       "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5500.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5500.json
new file mode 100644 (file)
index 0000000..f9345b1
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "MX5500",
+       "boardNames": [ "linksys,mx5500" ],
+       "partition1MTD": "mtd12",
+       "partition2MTD": "mtd14",
+       "labelOffset": 192,
+       "bootEnv1": "boot_part",
+       "bootEnv1Partition1Value": 1,
+       "bootEnv1Partition2Value": 2,
+       "bootEnv2": null,
+       "bootEnv2Partition1Value": null,
+       "bootEnv2Partition2Value": null
+}